<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html xmlns:yui="http://yuilibrary.com/rdf/1.0/yui.rdf#">
<head>
    <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
	<title>API: datatable   datatable-datasource.js  (YUI Library)</title>

	<link rel="stylesheet" type="text/css" href="assets/reset-fonts-grids-min.css" />
	<link rel="stylesheet" type="text/css" href="assets/api.css" />

    <script type="text/javascript" src="assets/api-js"></script>
    <script type="text/javascript" src="assets/ac-js"></script>
</head>

<body id="yahoo-com">

<div id="doc3" class="yui-t2">
	<div id="hd">
        <h1><a href="http://developer.yahoo.com/yui/" title="Yahoo! UI Library">Yahoo! UI Library</a></h1>
        <h3>datatable&nbsp; <span class="subtitle">3.3.0</span></h3>
        <a href="./index.html" title="Yahoo! UI Library">Yahoo! UI Library</a> 
            &gt; <a href="./module_datatable.html" title="datatable">datatable</a>
                
                 &gt; datatable-datasource.js (source view) 
        <form onsubmit="return false">
            <div id="propertysearch">
                Search: <input autocomplete="off" id="searchinput" />
                <div id="searchresults">
                    &nbsp;
                </div>
            </div>
        </form>
	</div>

	<div id="bd">
		<div id="yui-main">
			<div class="yui-b">
            <form action="#" name="yui-classopts-form" method="get" id="yui-classopts-form">
                <fieldset>
                    <legend>Filters</legend>
                <span class="classopts"><input type="checkbox" name="show_private" id="show_private" /> <label for="show_private">Show Private</label></span>
                <span class="classopts"><input type="checkbox" name="show_protected" id="show_protected" /> <label for="show_protected">Show Protected</label></span>
                <span class="classopts"><input type="checkbox" name="show_deprecated" id="show_deprecated" /> <label for="show_deprecated">Show Deprecated</label></span>
                </fieldset>
            </form>

                    <div id="srcout">
                        <style>
                            #doc3 .classopts { display:none; }
                        </style>
                        <div class="highlight"><pre><span class="cm">/**</span>
<span class="cm"> * Plugs DataTable with DataSource integration.</span>
<span class="cm"> *</span>
<span class="cm"> * @module datatable</span>
<span class="cm"> * @submodule datatable-datasource</span>
<span class="cm"> */</span>

<span class="cm">/**</span>
<span class="cm"> * Adds DataSource integration to DataTable.</span>
<span class="cm"> * @class DataTableDataSource</span>
<span class="cm"> * @extends Plugin.Base</span>
<span class="cm"> */</span>
<span class="kd">function</span> <span class="nx">DataTableDataSource</span><span class="p">()</span> <span class="p">{</span>
    <span class="nx">DataTableDataSource</span><span class="p">.</span><span class="nx">superclass</span><span class="p">.</span><span class="nx">constructor</span><span class="p">.</span><span class="nx">apply</span><span class="p">(</span><span class="k">this</span><span class="p">,</span> <span class="nx">arguments</span><span class="p">);</span>
<span class="p">}</span>

<span class="c1">/////////////////////////////////////////////////////////////////////////////</span>
<span class="c1">//</span>
<span class="c1">// STATIC PROPERTIES</span>
<span class="c1">//</span>
<span class="c1">/////////////////////////////////////////////////////////////////////////////</span>
<span class="nx">Y</span><span class="p">.</span><span class="nx">mix</span><span class="p">(</span><span class="nx">DataTableDataSource</span><span class="p">,</span> <span class="p">{</span>
    <span class="cm">/**</span>
<span class="cm">     * The namespace for the plugin. This will be the property on the host which</span>
<span class="cm">     * references the plugin instance.</span>
<span class="cm">     *</span>
<span class="cm">     * @property NS</span>
<span class="cm">     * @type String</span>
<span class="cm">     * @static</span>
<span class="cm">     * @final</span>
<span class="cm">     * @value &quot;datasource&quot;</span>
<span class="cm">     */</span>
    <span class="nx">NS</span><span class="o">:</span> <span class="s2">&quot;datasource&quot;</span><span class="p">,</span>

    <span class="cm">/**</span>
<span class="cm">     * Class name.</span>
<span class="cm">     *</span>
<span class="cm">     * @property NAME</span>
<span class="cm">     * @type String</span>
<span class="cm">     * @static</span>
<span class="cm">     * @final</span>
<span class="cm">     * @value &quot;dataTableDataSource&quot;</span>
<span class="cm">     */</span>
    <span class="nx">NAME</span><span class="o">:</span> <span class="s2">&quot;dataTableDataSource&quot;</span><span class="p">,</span>

<span class="c1">/////////////////////////////////////////////////////////////////////////////</span>
<span class="c1">//</span>
<span class="c1">// ATTRIBUTES</span>
<span class="c1">//</span>
<span class="c1">/////////////////////////////////////////////////////////////////////////////</span>
    <span class="nx">ATTRS</span><span class="o">:</span> <span class="p">{</span>
        <span class="cm">/**</span>
<span class="cm">        * @attribute datasource</span>
<span class="cm">        * @description Pointer to DataSource instance.</span>
<span class="cm">        * @type Y.DataSource</span>
<span class="cm">        */</span>
        <span class="nx">datasource</span><span class="o">:</span> <span class="p">{</span>
            <span class="nx">setter</span><span class="o">:</span> <span class="s2">&quot;_setDataSource&quot;</span>
        <span class="p">},</span>
        
        <span class="cm">/**</span>
<span class="cm">        * @attribute initialRequest</span>
<span class="cm">        * @description Request sent to DataSource immediately upon initialization.</span>
<span class="cm">        * @type Object</span>
<span class="cm">        */</span>
        <span class="nx">initialRequest</span><span class="o">:</span> <span class="p">{</span>
            <span class="nx">setter</span><span class="o">:</span> <span class="s2">&quot;_setInitialRequest&quot;</span>
        <span class="p">}</span>
    <span class="p">}</span>
<span class="p">});</span>

<span class="c1">/////////////////////////////////////////////////////////////////////////////</span>
<span class="c1">//</span>
<span class="c1">// PROTOTYPE</span>
<span class="c1">//</span>
<span class="c1">/////////////////////////////////////////////////////////////////////////////</span>
<span class="nx">Y</span><span class="p">.</span><span class="nx">extend</span><span class="p">(</span><span class="nx">DataTableDataSource</span><span class="p">,</span> <span class="nx">Y</span><span class="p">.</span><span class="nx">Plugin</span><span class="p">.</span><span class="nx">Base</span><span class="p">,</span> <span class="p">{</span>
    <span class="c1">/////////////////////////////////////////////////////////////////////////////</span>
    <span class="c1">//</span>
    <span class="c1">// ATTRIBUTE HELPERS</span>
    <span class="c1">//</span>
    <span class="c1">/////////////////////////////////////////////////////////////////////////////</span>
    <span class="cm">/**</span>
<span class="cm">    * @method _setDataSource</span>
<span class="cm">    * @description Creates new DataSource instance if one is not provided.</span>
<span class="cm">    * @param ds {Object | Y.DataSource}</span>
<span class="cm">    * @returns Y.DataSource</span>
<span class="cm">    * @private</span>
<span class="cm">    */</span>
    <span class="nx">_setDataSource</span><span class="o">:</span> <span class="kd">function</span><span class="p">(</span><span class="nx">ds</span><span class="p">)</span> <span class="p">{</span>
        <span class="k">return</span> <span class="nx">ds</span> <span class="o">||</span> <span class="k">new</span> <span class="nx">Y</span><span class="p">.</span><span class="nx">DataSource</span><span class="p">.</span><span class="nx">Local</span><span class="p">(</span><span class="nx">ds</span><span class="p">);</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">    * @method _setInitialRequest</span>
<span class="cm">    * @description Sends request to DataSource.</span>
<span class="cm">    * @param request {Object} DataSource request.</span>
<span class="cm">    * @private</span>
<span class="cm">    */</span>
    <span class="nx">_setInitialRequest</span><span class="o">:</span> <span class="kd">function</span><span class="p">(</span><span class="nx">request</span><span class="p">)</span> <span class="p">{</span>
    <span class="p">},</span>

    <span class="c1">/////////////////////////////////////////////////////////////////////////////</span>
    <span class="c1">//</span>
    <span class="c1">// METHODS</span>
    <span class="c1">//</span>
    <span class="c1">/////////////////////////////////////////////////////////////////////////////</span>
    <span class="cm">/**</span>
<span class="cm">    * Initializer.</span>
<span class="cm">    *</span>
<span class="cm">    * @method initializer</span>
<span class="cm">    * @param config {Object} Config object.</span>
<span class="cm">    * @private</span>
<span class="cm">    */</span>
    <span class="nx">initializer</span><span class="o">:</span> <span class="kd">function</span><span class="p">(</span><span class="nx">config</span><span class="p">)</span> <span class="p">{</span>
        <span class="k">if</span><span class="p">(</span><span class="o">!</span><span class="nx">Y</span><span class="p">.</span><span class="nx">Lang</span><span class="p">.</span><span class="nx">isUndefined</span><span class="p">(</span><span class="nx">config</span><span class="p">.</span><span class="nx">initialRequest</span><span class="p">))</span> <span class="p">{</span>
            <span class="k">this</span><span class="p">.</span><span class="nx">load</span><span class="p">({</span><span class="nx">request</span><span class="o">:</span><span class="nx">config</span><span class="p">.</span><span class="nx">initialRequest</span><span class="p">});</span>
        <span class="p">}</span>
    <span class="p">},</span>

    <span class="c1">////////////////////////////////////////////////////////////////////////////</span>
    <span class="c1">//</span>
    <span class="c1">// DATA</span>
    <span class="c1">//</span>
    <span class="c1">////////////////////////////////////////////////////////////////////////////</span>

    <span class="cm">/**</span>
<span class="cm">     * Load data by calling DataSource&#39;s sendRequest() method under the hood.</span>
<span class="cm">     *</span>
<span class="cm">     * @method load</span>
<span class="cm">     * @param config {object} Optional configuration parameters:</span>
<span class="cm">     *</span>
<span class="cm">     * &lt;dl&gt;</span>
<span class="cm">     * &lt;dt&gt;request&lt;/dt&gt;&lt;dd&gt;Pass in a new request, or initialRequest is used.&lt;/dd&gt;</span>
<span class="cm">     * &lt;dt&gt;callback&lt;/dt&gt;&lt;dd&gt;Pass in DataSource callback object, or the following default is used:</span>
<span class="cm">     *    &lt;dl&gt;</span>
<span class="cm">     *      &lt;dt&gt;success&lt;/dt&gt;&lt;dd&gt;datatable.onDataReturnInitializeTable&lt;/dd&gt;</span>
<span class="cm">     *      &lt;dt&gt;failure&lt;/dt&gt;&lt;dd&gt;datatable.onDataReturnInitializeTable&lt;/dd&gt;</span>
<span class="cm">     *      &lt;dt&gt;scope&lt;/dt&gt;&lt;dd&gt;datatable&lt;/dd&gt;</span>
<span class="cm">     *      &lt;dt&gt;argument&lt;/dt&gt;&lt;dd&gt;datatable.getState()&lt;/dd&gt;</span>
<span class="cm">     *    &lt;/dl&gt;</span>
<span class="cm">     * &lt;/dd&gt;</span>
<span class="cm">     * &lt;dt&gt;datasource&lt;/dt&gt;&lt;dd&gt;Pass in a new DataSource instance to override the current DataSource for this transaction.&lt;/dd&gt;</span>
<span class="cm">     * &lt;/dl&gt;</span>
<span class="cm">     */</span>
    <span class="nx">load</span><span class="o">:</span> <span class="kd">function</span><span class="p">(</span><span class="nx">config</span><span class="p">)</span> <span class="p">{</span>
        <span class="nx">config</span> <span class="o">=</span> <span class="nx">config</span> <span class="o">||</span> <span class="p">{};</span>
        <span class="nx">config</span><span class="p">.</span><span class="nx">request</span> <span class="o">=</span> <span class="nx">config</span><span class="p">.</span><span class="nx">request</span> <span class="o">||</span> <span class="k">this</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="s2">&quot;initialRequest&quot;</span><span class="p">);</span>
        <span class="nx">config</span><span class="p">.</span><span class="nx">callback</span> <span class="o">=</span> <span class="nx">config</span><span class="p">.</span><span class="nx">callback</span> <span class="o">||</span> <span class="p">{</span>
            <span class="nx">success</span><span class="o">:</span> <span class="nx">Y</span><span class="p">.</span><span class="nx">bind</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">onDataReturnInitializeTable</span><span class="p">,</span> <span class="k">this</span><span class="p">),</span>
            <span class="nx">failure</span><span class="o">:</span> <span class="nx">Y</span><span class="p">.</span><span class="nx">bind</span><span class="p">(</span><span class="k">this</span><span class="p">.</span><span class="nx">onDataReturnInitializeTable</span><span class="p">,</span> <span class="k">this</span><span class="p">),</span>
            <span class="nx">argument</span><span class="o">:</span> <span class="k">this</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="s2">&quot;host&quot;</span><span class="p">).</span><span class="nx">get</span><span class="p">(</span><span class="s2">&quot;state&quot;</span><span class="p">)</span> <span class="c1">//TODO</span>
        <span class="p">};</span>

        <span class="kd">var</span> <span class="nx">ds</span> <span class="o">=</span> <span class="p">(</span><span class="nx">config</span><span class="p">.</span><span class="nx">datasource</span> <span class="o">||</span> <span class="k">this</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="s2">&quot;datasource&quot;</span><span class="p">));</span>
        <span class="k">if</span><span class="p">(</span><span class="nx">ds</span><span class="p">)</span> <span class="p">{</span>
            <span class="nx">ds</span><span class="p">.</span><span class="nx">sendRequest</span><span class="p">(</span><span class="nx">config</span><span class="p">);</span>
        <span class="p">}</span>
    <span class="p">},</span>

    <span class="cm">/**</span>
<span class="cm">     * Callback function passed to DataSource&#39;s sendRequest() method populates</span>
<span class="cm">     * an entire DataTable with new data, clearing previous data, if any.</span>
<span class="cm">     *</span>
<span class="cm">     * @method onDataReturnInitializeTable</span>
<span class="cm">     * @param e {Event.Facade} DataSource Event Facade object.</span>
<span class="cm">     */</span>
    <span class="nx">onDataReturnInitializeTable</span> <span class="o">:</span> <span class="kd">function</span><span class="p">(</span><span class="nx">e</span><span class="p">)</span> <span class="p">{</span>
        <span class="k">this</span><span class="p">.</span><span class="nx">get</span><span class="p">(</span><span class="s2">&quot;host&quot;</span><span class="p">).</span><span class="nx">set</span><span class="p">(</span><span class="s2">&quot;recordset&quot;</span><span class="p">,</span> <span class="k">new</span> <span class="nx">Y</span><span class="p">.</span><span class="nx">Recordset</span><span class="p">({</span><span class="nx">records</span><span class="o">:</span> <span class="nx">e</span><span class="p">.</span><span class="nx">response</span><span class="p">.</span><span class="nx">results</span><span class="p">}));</span>
    <span class="p">}</span>
<span class="p">});</span>

<span class="nx">Y</span><span class="p">.</span><span class="nx">namespace</span><span class="p">(</span><span class="s2">&quot;Plugin&quot;</span><span class="p">).</span><span class="nx">DataTableDataSource</span> <span class="o">=</span> <span class="nx">DataTableDataSource</span><span class="p">;</span>
</pre></div>

                    </div>
			</div>
		</div>
		<div class="yui-b">
            <div class="nav">

                    <div id="moduleList" class="module">
                        <h4>Modules</h4>
                        <ul class="content">
                                <li class=""><a href="module_align-plugin.html" title="align-plugin">align-plugin</a></li>
                                <li class=""><a href="module_anim.html" title="anim">anim</a></li>
                                <li class=""><a href="module_arraysort.html" title="arraysort">arraysort</a></li>
                                <li class=""><a href="module_async-queue.html" title="async-queue">async-queue</a></li>
                                <li class=""><a href="module_attribute.html" title="attribute">attribute</a></li>
                                <li class=""><a href="module_autocomplete.html" title="autocomplete">autocomplete</a></li>
                                <li class=""><a href="module_base.html" title="base">base</a></li>
                                <li class=""><a href="module_cache.html" title="cache">cache</a></li>
                                <li class=""><a href="module_charts.html" title="charts">charts</a></li>
                                <li class=""><a href="module_classnamemanager.html" title="classnamemanager">classnamemanager</a></li>
                                <li class=""><a href="module_collection.html" title="collection">collection</a></li>
                                <li class=""><a href="module_console.html" title="console">console</a></li>
                                <li class=""><a href="module_console-filters.html" title="console-filters">console-filters</a></li>
                                <li class=""><a href="module_cookie.html" title="cookie">cookie</a></li>
                                <li class=""><a href="module_dataschema.html" title="dataschema">dataschema</a></li>
                                <li class=""><a href="module_datasource.html" title="datasource">datasource</a></li>
                                <li class="selected"><a href="module_datatable.html" title="datatable">datatable</a></li>
                                <li class=""><a href="module_datatype.html" title="datatype">datatype</a></li>
                                <li class=""><a href="module_dd.html" title="dd">dd</a></li>
                                <li class=""><a href="module_dial.html" title="dial">dial</a></li>
                                <li class=""><a href="module_dom.html" title="dom">dom</a></li>
                                <li class=""><a href="module_dump.html" title="dump">dump</a></li>
                                <li class=""><a href="module_editor.html" title="editor">editor</a></li>
                                <li class=""><a href="module_escape.html" title="escape">escape</a></li>
                                <li class=""><a href="module_event.html" title="event">event</a></li>
                                <li class=""><a href="module_event-custom.html" title="event-custom">event-custom</a></li>
                                <li class=""><a href="module_event-gestures.html" title="event-gestures">event-gestures</a></li>
                                <li class=""><a href="module_event-simulate.html" title="event-simulate">event-simulate</a></li>
                                <li class=""><a href="module_event-touch.html" title="event-touch">event-touch</a></li>
                                <li class=""><a href="module_event-valuechange.html" title="event-valuechange">event-valuechange</a></li>
                                <li class=""><a href="module_highlight.html" title="highlight">highlight</a></li>
                                <li class=""><a href="module_history.html" title="history">history</a></li>
                                <li class=""><a href="module_history-deprecated.html" title="history-deprecated">history-deprecated</a></li>
                                <li class=""><a href="module_imageloader.html" title="imageloader">imageloader</a></li>
                                <li class=""><a href="module_intl.html" title="intl">intl</a></li>
                                <li class=""><a href="module_io.html" title="io">io</a></li>
                                <li class=""><a href="module_json.html" title="json">json</a></li>
                                <li class=""><a href="module_jsonp.html" title="jsonp">jsonp</a></li>
                                <li class=""><a href="module_loader.html" title="loader">loader</a></li>
                                <li class=""><a href="module_node.html" title="node">node</a></li>
                                <li class=""><a href="module_node-flick.html" title="node-flick">node-flick</a></li>
                                <li class=""><a href="module_node-focusmanager.html" title="node-focusmanager">node-focusmanager</a></li>
                                <li class=""><a href="module_node-menunav.html" title="node-menunav">node-menunav</a></li>
                                <li class=""><a href="module_oop.html" title="oop">oop</a></li>
                                <li class=""><a href="module_overlay.html" title="overlay">overlay</a></li>
                                <li class=""><a href="module_plugin.html" title="plugin">plugin</a></li>
                                <li class=""><a href="module_pluginhost.html" title="pluginhost">pluginhost</a></li>
                                <li class=""><a href="module_pluginhost-base.html" title="pluginhost-base">pluginhost-base</a></li>
                                <li class=""><a href="module_profiler.html" title="profiler">profiler</a></li>
                                <li class=""><a href="module_querystring.html" title="querystring">querystring</a></li>
                                <li class=""><a href="module_queue-promote.html" title="queue-promote">queue-promote</a></li>
                                <li class=""><a href="module_recordset.html" title="recordset">recordset</a></li>
                                <li class=""><a href="module_resize.html" title="resize">resize</a></li>
                                <li class=""><a href="module_scrollview.html" title="scrollview">scrollview</a></li>
                                <li class=""><a href="module_scrollview-base.html" title="scrollview-base">scrollview-base</a></li>
                                <li class=""><a href="module_scrollview-base-ie.html" title="scrollview-base-ie">scrollview-base-ie</a></li>
                                <li class=""><a href="module_scrollview-paginator.html" title="scrollview-paginator">scrollview-paginator</a></li>
                                <li class=""><a href="module_scrollview-scrollbars.html" title="scrollview-scrollbars">scrollview-scrollbars</a></li>
                                <li class=""><a href="module_shim-plugin.html" title="shim-plugin">shim-plugin</a></li>
                                <li class=""><a href="module_slider.html" title="slider">slider</a></li>
                                <li class=""><a href="module_sortable.html" title="sortable">sortable</a></li>
                                <li class=""><a href="module_stylesheet.html" title="stylesheet">stylesheet</a></li>
                                <li class=""><a href="module_substitute.html" title="substitute">substitute</a></li>
                                <li class=""><a href="module_swf.html" title="swf">swf</a></li>
                                <li class=""><a href="module_swfdetect.html" title="swfdetect">swfdetect</a></li>
                                <li class=""><a href="module_tabview.html" title="tabview">tabview</a></li>
                                <li class=""><a href="module_test.html" title="test">test</a></li>
                                <li class=""><a href="module_text.html" title="text">text</a></li>
                                <li class=""><a href="module_transition.html" title="transition">transition</a></li>
                                <li class=""><a href="module_uploader.html" title="uploader">uploader</a></li>
                                <li class=""><a href="module_widget.html" title="widget">widget</a></li>
                                <li class=""><a href="module_widget-anim.html" title="widget-anim">widget-anim</a></li>
                                <li class=""><a href="module_widget-base-ie.html" title="widget-base-ie">widget-base-ie</a></li>
                                <li class=""><a href="module_widget-child.html" title="widget-child">widget-child</a></li>
                                <li class=""><a href="module_widget-locale.html" title="widget-locale">widget-locale</a></li>
                                <li class=""><a href="module_widget-parent.html" title="widget-parent">widget-parent</a></li>
                                <li class=""><a href="module_widget-position.html" title="widget-position">widget-position</a></li>
                                <li class=""><a href="module_widget-position-align.html" title="widget-position-align">widget-position-align</a></li>
                                <li class=""><a href="module_widget-position-constrain.html" title="widget-position-constrain">widget-position-constrain</a></li>
                                <li class=""><a href="module_widget-stack.html" title="widget-stack">widget-stack</a></li>
                                <li class=""><a href="module_widget-stdmod.html" title="widget-stdmod">widget-stdmod</a></li>
                                <li class=""><a href="module_yql.html" title="yql">yql</a></li>
                                <li class=""><a href="module_yui.html" title="yui">yui</a></li>
                        </ul>
                    </div>

                    <div id="classList" class="module">
                        <h4>Classes</h4>
                        <ul class="content">
                                <li class=""><a href="Column.html" title="Column">Column</a></li>
                                <li class=""><a href="Columnset.html" title="Columnset">Columnset</a></li>
                                <li class=""><a href="DataTable.Base.html" title="DataTable.Base">DataTable.Base</a></li>
                                <li class=""><a href="DataTableDataSource.html" title="DataTableDataSource">DataTableDataSource</a></li>
                                <li class=""><a href="DataTableScroll.html" title="DataTableScroll">DataTableScroll</a></li>
                                <li class=""><a href="DataTableSort.html" title="DataTableSort">DataTableSort</a></li>
                        </ul>
                    </div>

                    <div id="fileList" class="module">
                        <h4>Files</h4>
                        <ul class="content">        
                                <li class=""><a href="column.js.html" title="column.js">column.js</a></li>
                                <li class=""><a href="columnset.js.html" title="columnset.js">columnset.js</a></li>
                                <li class=""><a href="datatable-base-vars.js.html" title="datatable-base-vars.js">datatable-base-vars.js</a></li>
                                <li class=""><a href="datatable-base.js.html" title="datatable-base.js">datatable-base.js</a></li>
                                <li class=""><a href="datatable-colresize.js.html" title="datatable-colresize.js">datatable-colresize.js</a></li>
                                <li class="selected"><a href="datatable-datasource.js.html" title="datatable-datasource.js">datatable-datasource.js</a></li>
                                <li class=""><a href="datatable-scroll.js.html" title="datatable-scroll.js">datatable-scroll.js</a></li>
                                <li class=""><a href="datatable-sort.js.html" title="datatable-sort.js">datatable-sort.js</a></li>
                        </ul>
                    </div>





            </div>
		</div>
	</div>
	<div id="ft">
        <hr />
        Copyright &copy; 2011 Yahoo! Inc. All rights reserved.
	</div>
</div>
<script type="text/javascript">

    var ALL_YUI_PROPS = [{"access": "", "host": "Column", "name": "abbr", "url": "Column.html#config_abbr", "type": "config"}, {"access": "", "host": "Column", "name": "abbrChange", "url": "Column.html#event_abbrChange", "type": "event"}, {"access": "protected", "host": "DataTable.Base", "name": "_addCaptionNode", "url": "DataTable.Base.html#method__addCaptionNode", "type": "method"}, {"access": "protected", "host": "DataTable.Base", "name": "_addColgroupNode", "url": "DataTable.Base.html#method__addColgroupNode", "type": "method"}, {"access": "protected", "host": "DataTable.Base", "name": "_addMessageNode", "url": "DataTable.Base.html#method__addMessageNode", "type": "method"}, {"access": "protected", "host": "DataTable.Base", "name": "_addTableNode", "url": "DataTable.Base.html#method__addTableNode", "type": "method"}, {"access": "protected", "host": "DataTable.Base", "name": "_addTbodyNode", "url": "DataTable.Base.html#method__addTbodyNode", "type": "method"}, {"access": "protected", "host": "DataTable.Base", "name": "_addTbodyTdNode", "url": "DataTable.Base.html#method__addTbodyTdNode", "type": "method"}, {"access": "protected", "host": "DataTable.Base", "name": "_addTbodyTrNode", "url": "DataTable.Base.html#method__addTbodyTrNode", "type": "method"}, {"access": "protected", "host": "DataTable.Base", "name": "_addTheadNode", "url": "DataTable.Base.html#method__addTheadNode", "type": "method"}, {"access": "protected", "host": "DataTable.Base", "name": "_addTheadThNode", "url": "DataTable.Base.html#method__addTheadThNode", "type": "method"}, {"access": "protected", "host": "DataTable.Base", "name": "_addTheadTrNode", "url": "DataTable.Base.html#method__addTheadTrNode", "type": "method"}, {"access": "private", "host": "Column", "name": "_afterAbbrChange", "url": "Column.html#method__afterAbbrChange", "type": "method"}, {"access": "protected", "host": "DataTable.Base", "name": "_afterCaptionChange", "url": "DataTable.Base.html#method__afterCaptionChange", "type": "method"}, {"access": "protected", "host": "DataTable.Base", "name": "_afterColumnsetChange", "url": "DataTable.Base.html#method__afterColumnsetChange", "type": "method"}, {"access": "protected", "host": "DataTable.Base", "name": "_afterRecordsetChange", "url": "DataTable.Base.html#method__afterRecordsetChange", "type": "method"}, {"access": "protected", "host": "DataTable.Base", "name": "_afterSummaryChange", "url": "DataTable.Base.html#method__afterSummaryChange", "type": "method"}, {"access": "protected", "host": "DataTable.Base", "name": "_attachTbodyTdNode", "url": "DataTable.Base.html#method__attachTbodyTdNode", "type": "method"}, {"access": "private", "host": "DataTableScroll", "name": "_attachTbodyTdNode", "url": "DataTableScroll.html#method__attachTbodyTdNode", "type": "method"}, {"access": "protected", "host": "DataTable.Base", "name": "_attachTbodyTrNode", "url": "DataTable.Base.html#method__attachTbodyTrNode", "type": "method"}, {"access": "protected", "host": "DataTable.Base", "name": "_attachTheadThNode", "url": "DataTable.Base.html#method__attachTheadThNode", "type": "method"}, {"access": "private", "host": "DataTableScroll", "name": "_attachTheadThNode", "url": "DataTableScroll.html#method__attachTheadThNode", "type": "method"}, {"access": "protected", "host": "DataTable.Base", "name": "_attachTheadTrNode", "url": "DataTable.Base.html#method__attachTheadTrNode", "type": "method"}, {"access": "protected", "host": "DataTableSort", "name": "_beforeAttachTheadThNode", "url": "DataTableSort.html#method__beforeAttachTheadThNode", "type": "method"}, {"access": "protected", "host": "DataTableSort", "name": "_before_beforeAttachTbodyTdNode", "url": "DataTableSort.html#method__before_beforeAttachTbodyTdNode", "type": "method"}, {"access": "protected", "host": "DataTableSort", "name": "_beforeCreateTheadThNode", "url": "DataTableSort.html#method__beforeCreateTheadThNode", "type": "method"}, {"access": "private", "host": "DataTable.Base", "name": "bindUI", "url": "DataTable.Base.html#method_bindUI", "type": "method"}, {"access": "private", "host": "DataTableScroll", "name": "_bodyContainerNode", "url": "DataTableScroll.html#property__bodyContainerNode", "type": "property"}, {"access": "", "host": "DataTable.Base", "name": "caption", "url": "DataTable.Base.html#config_caption", "type": "config"}, {"access": "", "host": "DataTable.Base", "name": "captionChange", "url": "DataTable.Base.html#event_captionChange", "type": "event"}, {"access": "private", "host": "Columnset", "name": "_cascadePropertiesToChildren", "url": "Columnset.html#method__cascadePropertiesToChildren", "type": "method"}, {"access": "", "host": "Column", "name": "children", "url": "Column.html#config_children", "type": "config"}, {"access": "", "host": "Column", "name": "childrenChange", "url": "Column.html#event_childrenChange", "type": "event"}, {"access": "", "host": "DataTableScroll", "name": "COLOR_COLUMNFILLER", "url": "DataTableScroll.html#config_COLOR_COLUMNFILLER", "type": "config"}, {"access": "", "host": "DataTableScroll", "name": "COLOR_COLUMNFILLERChange", "url": "DataTableScroll.html#event_COLOR_COLUMNFILLERChange", "type": "event"}, {"access": "", "host": "Column", "name": "colSpan", "url": "Column.html#property_colSpan", "type": "property"}, {"access": "", "host": "DataTable.Base", "name": "columnset", "url": "DataTable.Base.html#config_columnset", "type": "config"}, {"access": "", "host": "DataTable.Base", "name": "columnsetChange", "url": "DataTable.Base.html#event_columnsetChange", "type": "event"}, {"access": "private", "host": "DataTableScroll", "name": "_createBodyContainer", "url": "DataTableScroll.html#method__createBodyContainer", "type": "method"}, {"access": "private", "host": "DataTableScroll", "name": "_createHeaderContainer", "url": "DataTableScroll.html#method__createHeaderContainer", "type": "method"}, {"access": "protected", "host": "DataTable.Base", "name": "_createTbodyTdNode", "url": "DataTable.Base.html#method__createTbodyTdNode", "type": "method"}, {"access": "protected", "host": "DataTable.Base", "name": "_createTbodyTrNode", "url": "DataTable.Base.html#method__createTbodyTrNode", "type": "method"}, {"access": "protected", "host": "DataTable.Base", "name": "_createTheadThNode", "url": "DataTable.Base.html#method__createTheadThNode", "type": "method"}, {"access": "protected", "host": "DataTable.Base", "name": "_createTheadTrNode", "url": "DataTable.Base.html#method__createTheadTrNode", "type": "method"}, {"access": "", "host": "DataTableDataSource", "name": "datasource", "url": "DataTableDataSource.html#config_datasource", "type": "config"}, {"access": "", "host": "DataTableDataSource", "name": "datasourceChange", "url": "DataTableDataSource.html#event_datasourceChange", "type": "event"}, {"access": "private", "host": "Column", "name": "_defaultField", "url": "Column.html#method__defaultField", "type": "method"}, {"access": "private", "host": "Column", "name": "_defaultId", "url": "Column.html#method__defaultId", "type": "method"}, {"access": "private", "host": "Column", "name": "_defaultKey", "url": "Column.html#method__defaultKey", "type": "method"}, {"access": "private", "host": "Column", "name": "_defaultLabel", "url": "Column.html#method__defaultLabel", "type": "method"}, {"access": "", "host": "Columnset", "name": "definitions", "url": "Columnset.html#config_definitions", "type": "config"}, {"access": "", "host": "Columnset", "name": "definitionsChange", "url": "Columnset.html#event_definitionsChange", "type": "event"}, {"access": "private", "host": "Column", "name": "destructor", "url": "Column.html#method_destructor", "type": "method"}, {"access": "private", "host": "Columnset", "name": "destructor", "url": "Columnset.html#method_destructor", "type": "method"}, {"access": "private", "host": "DataTable.Base", "name": "destructor", "url": "DataTable.Base.html#method_destructor", "type": "method"}, {"access": "", "host": "Column", "name": "field", "url": "Column.html#config_field", "type": "config"}, {"access": "", "host": "Column", "name": "fieldChange", "url": "Column.html#event_fieldChange", "type": "event"}, {"access": "", "host": "DataTable.Base", "name": "formatDataCell", "url": "DataTable.Base.html#method_formatDataCell", "type": "method"}, {"access": "private", "host": "Column", "name": "_getClassnames", "url": "Column.html#method__getClassnames", "type": "method"}, {"access": "private", "host": "DataTableScroll", "name": "_headerContainerNode", "url": "DataTableScroll.html#property__headerContainerNode", "type": "property"}, {"access": "", "host": "Column", "name": "headers", "url": "Column.html#property_headers", "type": "property"}, {"access": "", "host": "DataTableScroll", "name": "height", "url": "DataTableScroll.html#config_height", "type": "config"}, {"access": "", "host": "DataTableScroll", "name": "heightChange", "url": "DataTableScroll.html#event_heightChange", "type": "event"}, {"access": "", "host": "Column", "name": "id", "url": "Column.html#config_id", "type": "config"}, {"access": "", "host": "Column", "name": "idChange", "url": "Column.html#event_idChange", "type": "event"}, {"access": "", "host": "Columnset", "name": "idHash", "url": "Columnset.html#property_idHash", "type": "property"}, {"access": "private", "host": "Column", "name": "initializer", "url": "Column.html#method_initializer", "type": "method"}, {"access": "private", "host": "Columnset", "name": "initializer", "url": "Columnset.html#method_initializer", "type": "method"}, {"access": "private", "host": "DataTable.Base", "name": "initializer", "url": "DataTable.Base.html#method_initializer", "type": "method"}, {"access": "private", "host": "DataTableDataSource", "name": "initializer", "url": "DataTableDataSource.html#method_initializer", "type": "method"}, {"access": "private", "host": "DataTableSort", "name": "initializer", "url": "DataTableSort.html#method_initializer", "type": "method"}, {"access": "", "host": "DataTableDataSource", "name": "initialRequest", "url": "DataTableDataSource.html#config_initialRequest", "type": "config"}, {"access": "", "host": "DataTableDataSource", "name": "initialRequestChange", "url": "DataTableDataSource.html#event_initialRequestChange", "type": "event"}, {"access": "", "host": "Column", "name": "key", "url": "Column.html#config_key", "type": "config"}, {"access": "", "host": "Column", "name": "keyChange", "url": "Column.html#event_keyChange", "type": "event"}, {"access": "", "host": "Columnset", "name": "keyHash", "url": "Columnset.html#property_keyHash", "type": "property"}, {"access": "", "host": "Column", "name": "keyIndex", "url": "Column.html#property_keyIndex", "type": "property"}, {"access": "", "host": "Columnset", "name": "keys", "url": "Columnset.html#property_keys", "type": "property"}, {"access": "", "host": "Column", "name": "label", "url": "Column.html#config_label", "type": "config"}, {"access": "", "host": "Column", "name": "labelChange", "url": "Column.html#event_labelChange", "type": "event"}, {"access": "", "host": "DataTableSort", "name": "lastSortedBy", "url": "DataTableSort.html#config_lastSortedBy", "type": "config"}, {"access": "", "host": "DataTableSort", "name": "lastSortedByChange", "url": "DataTableSort.html#event_lastSortedByChange", "type": "event"}, {"access": "", "host": "DataTableDataSource", "name": "load", "url": "DataTableDataSource.html#method_load", "type": "method"}, {"access": "private", "host": "DataTable.Base", "name": "_msgNode", "url": "DataTable.Base.html#property__msgNode", "type": "property"}, {"access": "", "host": "Column", "name": "NAME", "url": "Column.html#property_NAME", "type": "property"}, {"access": "", "host": "Columnset", "name": "NAME", "url": "Columnset.html#property_NAME", "type": "property"}, {"access": "", "host": "DataTable.Base", "name": "NAME", "url": "DataTable.Base.html#property_NAME", "type": "property"}, {"access": "", "host": "DataTableDataSource", "name": "NAME", "url": "DataTableDataSource.html#property_NAME", "type": "property"}, {"access": "", "host": "DataTableSort", "name": "NAME", "url": "DataTableSort.html#property_NAME", "type": "property"}, {"access": "", "host": "DataTableDataSource", "name": "NS", "url": "DataTableDataSource.html#property_NS", "type": "property"}, {"access": "", "host": "DataTableSort", "name": "NS", "url": "DataTableSort.html#property_NS", "type": "property"}, {"access": "", "host": "DataTableDataSource", "name": "onDataReturnInitializeTable", "url": "DataTableDataSource.html#method_onDataReturnInitializeTable", "type": "method"}, {"access": "protected", "host": "DataTableSort", "name": "_onEventSortColumn", "url": "DataTableSort.html#method__onEventSortColumn", "type": "method"}, {"access": "private", "host": "DataTableScroll", "name": "_onScroll", "url": "DataTableScroll.html#method__onScroll", "type": "method"}, {"access": "", "host": "Column", "name": "parent", "url": "Column.html#property_parent", "type": "property"}, {"access": "private", "host": "DataTableScroll", "name": "_parentContainer", "url": "DataTableScroll.html#property__parentContainer", "type": "property"}, {"access": "private", "host": "DataTableScroll", "name": "_parentMsgNode", "url": "DataTableScroll.html#property__parentMsgNode", "type": "property"}, {"access": "private", "host": "DataTableScroll", "name": "_parentTableNode", "url": "DataTableScroll.html#property__parentTableNode", "type": "property"}, {"access": "private", "host": "DataTableScroll", "name": "_parentTbodyNode", "url": "DataTableScroll.html#property__parentTbodyNode", "type": "property"}, {"access": "private", "host": "DataTableScroll", "name": "_parentTheadNode", "url": "DataTableScroll.html#property__parentTheadNode", "type": "property"}, {"access": "", "host": "DataTable.Base", "name": "recordset", "url": "DataTable.Base.html#config_recordset", "type": "config"}, {"access": "", "host": "DataTable.Base", "name": "recordsetChange", "url": "DataTable.Base.html#event_recordsetChange", "type": "event"}, {"access": "private", "host": "DataTableScroll", "name": "_removeCaptionNode", "url": "DataTableScroll.html#method__removeCaptionNode", "type": "method"}, {"access": "private", "host": "DataTable.Base", "name": "renderUI", "url": "DataTable.Base.html#method_renderUI", "type": "method"}, {"access": "", "host": "DataTableScroll", "name": "renderUI", "url": "DataTableScroll.html#method_renderUI", "type": "method"}, {"access": "", "host": "Column", "name": "rowSpan", "url": "Column.html#property_rowSpan", "type": "property"}, {"access": "private", "host": "DataTableScroll", "name": "scroll", "url": "DataTableScroll.html#config_scroll", "type": "config"}, {"access": "", "host": "DataTableScroll", "name": "scrollChange", "url": "DataTableScroll.html#event_scrollChange", "type": "event"}, {"access": "private", "host": "Columnset", "name": "_setColSpans", "url": "Columnset.html#method__setColSpans", "type": "method"}, {"access": "private", "host": "DataTable.Base", "name": "_setColumnset", "url": "DataTable.Base.html#method__setColumnset", "type": "method"}, {"access": "private", "host": "DataTableScroll", "name": "_setContentBoxDimensions", "url": "DataTableScroll.html#method__setContentBoxDimensions", "type": "method"}, {"access": "private", "host": "DataTableDataSource", "name": "_setDataSource", "url": "DataTableDataSource.html#method__setDataSource", "type": "method"}, {"access": "private", "host": "Columnset", "name": "_setDefinitions", "url": "Columnset.html#method__setDefinitions", "type": "method"}, {"access": "private", "host": "Columnset", "name": "_setHeaders", "url": "Columnset.html#method__setHeaders", "type": "method"}, {"access": "private", "host": "DataTableDataSource", "name": "_setInitialRequest", "url": "DataTableDataSource.html#method__setInitialRequest", "type": "method"}, {"access": "private", "host": "DataTableSort", "name": "_setLastSortedBy", "url": "DataTableSort.html#method__setLastSortedBy", "type": "method"}, {"access": "private", "host": "DataTableScroll", "name": "_setOverhangValue", "url": "DataTableScroll.html#method__setOverhangValue", "type": "method"}, {"access": "private", "host": "DataTable.Base", "name": "_setRecordset", "url": "DataTable.Base.html#method__setRecordset", "type": "method"}, {"access": "private", "host": "Columnset", "name": "_setRowSpans", "url": "Columnset.html#method__setRowSpans", "type": "method"}, {"access": "private", "host": "DataTableScroll", "name": "_setStylesForTbody", "url": "DataTableScroll.html#method__setStylesForTbody", "type": "method"}, {"access": "private", "host": "DataTableScroll", "name": "_setStylesForThead", "url": "DataTableScroll.html#method__setStylesForThead", "type": "method"}, {"access": "private", "host": "DataTableScroll", "name": "_setUpNodes", "url": "DataTableScroll.html#method__setUpNodes", "type": "method"}, {"access": "private", "host": "DataTableScroll", "name": "_setUpParentMessageNode", "url": "DataTableScroll.html#method__setUpParentMessageNode", "type": "method"}, {"access": "private", "host": "DataTableScroll", "name": "_setUpParentTableNode", "url": "DataTableScroll.html#method__setUpParentTableNode", "type": "method"}, {"access": "private", "host": "DataTableScroll", "name": "_setUpParentTbodyNode", "url": "DataTableScroll.html#method__setUpParentTbodyNode", "type": "method"}, {"access": "private", "host": "DataTableScroll", "name": "_setUpParentTheadNode", "url": "DataTableScroll.html#method__setUpParentTheadNode", "type": "method"}, {"access": "", "host": "DataTable.Base", "name": "summary", "url": "DataTable.Base.html#config_summary", "type": "config"}, {"access": "", "host": "DataTable.Base", "name": "summaryChange", "url": "DataTable.Base.html#event_summaryChange", "type": "event"}, {"access": "private", "host": "DataTableScroll", "name": "_syncScroll", "url": "DataTableScroll.html#method__syncScroll", "type": "method"}, {"access": "private", "host": "DataTableScroll", "name": "_syncScrollOverhang", "url": "DataTableScroll.html#method__syncScrollOverhang", "type": "method"}, {"access": "private", "host": "DataTableScroll", "name": "_syncScrollX", "url": "DataTableScroll.html#method__syncScrollX", "type": "method"}, {"access": "private", "host": "DataTableScroll", "name": "_syncScrollY", "url": "DataTableScroll.html#method__syncScrollY", "type": "method"}, {"access": "private", "host": "Column", "name": "syncUI", "url": "Column.html#method_syncUI", "type": "method"}, {"access": "private", "host": "DataTable.Base", "name": "syncUI", "url": "DataTable.Base.html#method_syncUI", "type": "method"}, {"access": "", "host": "DataTableScroll", "name": "syncUI", "url": "DataTableScroll.html#method_syncUI", "type": "method"}, {"access": "private", "host": "DataTableScroll", "name": "_syncWidths", "url": "DataTableScroll.html#method__syncWidths", "type": "method"}, {"access": "private", "host": "DataTable.Base", "name": "_tbodyNode", "url": "DataTable.Base.html#property__tbodyNode", "type": "property"}, {"access": "", "host": "DataTable.Base", "name": "tdTemplate", "url": "DataTable.Base.html#property_tdTemplate", "type": "property"}, {"access": "", "host": "DataTable.Base", "name": "tdValueTemplate", "url": "DataTable.Base.html#config_tdValueTemplate", "type": "config"}, {"access": "", "host": "DataTable.Base", "name": "tdValueTemplateChange", "url": "DataTable.Base.html#event_tdValueTemplateChange", "type": "event"}, {"access": "", "host": "DataTableSort", "name": "template", "url": "DataTableSort.html#config_template", "type": "config"}, {"access": "", "host": "DataTableSort", "name": "templateChange", "url": "DataTableSort.html#event_templateChange", "type": "event"}, {"access": "private", "host": "DataTable.Base", "name": "_theadNode", "url": "DataTable.Base.html#property__theadNode", "type": "property"}, {"access": "", "host": "Column", "name": "thNode", "url": "Column.html#property_thNode", "type": "property"}, {"access": "", "host": "DataTable.Base", "name": "thTemplate", "url": "DataTable.Base.html#property_thTemplate", "type": "property"}, {"access": "", "host": "DataTable.Base", "name": "thValueTemplate", "url": "DataTable.Base.html#config_thValueTemplate", "type": "config"}, {"access": "", "host": "DataTable.Base", "name": "thValueTemplateChange", "url": "DataTable.Base.html#event_thValueTemplateChange", "type": "event"}, {"access": "", "host": "Columnset", "name": "tree", "url": "Columnset.html#property_tree", "type": "property"}, {"access": "", "host": "DataTableSort", "name": "trigger", "url": "DataTableSort.html#config_trigger", "type": "config"}, {"access": "", "host": "DataTableSort", "name": "triggerChange", "url": "DataTableSort.html#event_triggerChange", "type": "event"}, {"access": "", "host": "DataTable.Base", "name": "trTemplate", "url": "DataTable.Base.html#config_trTemplate", "type": "config"}, {"access": "", "host": "DataTable.Base", "name": "trTemplateChange", "url": "DataTable.Base.html#event_trTemplateChange", "type": "event"}, {"access": "protected", "host": "Column", "name": "_uiSetAbbr", "url": "Column.html#method__uiSetAbbr", "type": "method"}, {"access": "protected", "host": "DataTable.Base", "name": "_uiSetCaption", "url": "DataTable.Base.html#method__uiSetCaption", "type": "method"}, {"access": "protected", "host": "DataTable.Base", "name": "_uiSetColumnset", "url": "DataTable.Base.html#method__uiSetColumnset", "type": "method"}, {"access": "protected", "host": "DataTableSort", "name": "_uiSetLastSortedBy", "url": "DataTableSort.html#method__uiSetLastSortedBy", "type": "method"}, {"access": "protected", "host": "DataTable.Base", "name": "_uiSetRecordset", "url": "DataTable.Base.html#method__uiSetRecordset", "type": "method"}, {"access": "protected", "host": "DataTable.Base", "name": "_uiSetSummary", "url": "DataTable.Base.html#method__uiSetSummary", "type": "method"}, {"access": "", "host": "DataTableScroll", "name": "width", "url": "DataTableScroll.html#config_width", "type": "config"}, {"access": "", "host": "DataTableScroll", "name": "widthChange", "url": "DataTableScroll.html#event_widthChange", "type": "event"}];
</script>
</body>
</html>
